package saas.dev.cloud;

/**
 * @author : y1
 * @className : AppErrorDefinition
 * @date: 2023/2/3 12:44
 * @description :
 */
public enum AppErrorDefinition {
    IMPORT_EXCEL_ERROR(120003, "导入模版模板错误"),
    IMPORT_FORMAT_EXCEL_ERROR(120004, "Excel导入格式异常"),
    ;

    private final Integer code;
    private final String msg;

    private AppErrorDefinition(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    public String toString() {
        return this.code + ":" + this.msg;
    }
}
